<%@ page language="java" contentType="text/html; charset=utf8"
    pageEncoding="utf8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<title></title>
<script type="text/javascript" src="./plugin/ckeditor/ckeditor.js"></script>
</head>
<body>
<h1>添加新博客</h1>
<s:form action="newblog">
	<s:textfield name="title" label="标题"></s:textfield>
	<s:textarea id="editor1" class="editor1" name="content" label="内容" ></s:textarea>
	<s:submit value="提交"></s:submit>
</s:form>
<script type="text/javascript">
CKEDITOR.replace( 'editor1' );
</script>
</body>
</html>